package com.ccut.lc.dao;

import com.ccut.lc.model.ProductType;
import com.ccut.lc.model.QueryVo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductTypeMapper {
    public List<ProductType> selProductType(QueryVo queryVo);
    public int getTotal(QueryVo queryVo);

    void deleteProductType(Integer id);

    ProductType findProductTypeByID(Integer id);
    void addProduct (ProductType productType);
    void  updateProductType(ProductType productType);
}
